package com.aaa.fpa.service;

import com.aaa.pojo.QuestionSas;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface QuestionSasService {
    QuestionSas queryById(Integer id);

    Page<QuestionSas> queryByPage(QuestionSas questionSas, PageRequest pageRequest);
    QuestionSas insert(QuestionSas questionSas);
    boolean update(QuestionSas questionSas);
    boolean deleteById(String idList);
    boolean repetitionName(QuestionSas questionSas);

    List<QuestionSas> findAllQuestion();

}
